From: Florian Müllner Date: Wed, 4 Mar 2015 19:11:29 +0000 (+0100) Subject: panel: Center app-menu label vertically X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1568 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f5e07fbeba09f062d7ee4e65345980354f741f27;p=gnome-shell.git panel: Center app-menu label vertically Commit 333becef45 accidentally removed the y_align property, bring it back. https://bugzilla.gnome.org/show_bug.cgi?id=745110 --- diff --git a/js/ui/panel.js b/js/ui/panel.js index c1ca12975..2e6ddab73 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -117,7 +117,8 @@ const AppMenuButton = new Lang.Class({ this._iconBox = new St.Bin({ style_class: 'app-menu-icon' }); this._container.add_actor(this._iconBox); - this._label = new St.Label(); + this._label = new St.Label({ y_expand: true, + y_align: Clutter.ActorAlign.CENTER }); this._container.add_actor(this._label); this._arrow = PopupMenu.arrowIcon(St.Side.BOTTOM); this._container.add_actor(this._arrow);